Skip to content

Conversation

@mikewuu
Copy link
Contributor

@mikewuu mikewuu commented Oct 30, 2025

Closes https://linear.app/seam/issue/ACS-2122/missing-schema-in-api-docs-for-acssystemsreport-devices

Issue was that we were only mapping child object properties once. This PR recursively goes through each object property, adds a prefix parent.child_property and then flattens them.

e.g. https://docs.seam.co/latest/api/acs/systems/report_devices

Before

CleanShot 2025-10-30 at 18 10 33@2x

After

CleanShot 2025-10-30 at 18 13 13@2x

shows flattened hotek_metadata properties

@mikewuu mikewuu requested review from a team as code owners October 30, 2025 09:10
@mikewuu mikewuu requested a review from razor-x October 30, 2025 09:14
@razor-x razor-x merged commit de8b67f into main Oct 30, 2025
9 checks passed
@razor-x razor-x deleted the flatten-object branch October 30, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants